package com.file.mapper;

import com.file.pojo.Rights;
import com.file.vo.PageResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


public interface RightsMapper{

    Rights getlist(String id);
    //@Select("select name,parent_id,path,level from rights where parent_id=0")
    List<Rights> findRightsByParentId(int id);

}
